package com.loie.datacenter.model.stockpo;

import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
@JsonPropertyOrder({"stockCode", "stockName", "finalprofit","finalprofitrate","firstprice","maxprice","minprice","curprice"})

public class TradeResult {
    private String stockCode;
    private String stockName;
    private Double firstprice=0.0;
    private Double maxprice=0.0;
    private Double minprice=0.0;
    private Double curprice=0.0;

    private Double finalprofit;
    private Double finalprofitrate;
    private Integer buycount=0;
    private Integer sellcount=0;
    private List<TradeLog> tradeLogList;
    private Double annualVolatility;
    private MaxDrawdownResult maxDrawdownResult;




}
